package actions.standard.form;

import gui.standard.form.PopisniDokumentForm;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.ImageIcon;

public class ProknjiziPopisAction extends AbstractAction {

	private static final long serialVersionUID = 1L;
	private PopisniDokumentForm popisForm;
	
	public ProknjiziPopisAction(PopisniDokumentForm popisForm) {
		putValue(SMALL_ICON, new ImageIcon("img/book.gif"));
		putValue(SHORT_DESCRIPTION, "Proknjizi popis");
		this.popisForm = popisForm;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
		popisForm.proknjiziPopis();
	}

}
